package com.wanxi.dao;

import com.wanxi.model.LawyerModel;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Li
 * @Date 2023/4/27 16:12
 */
public class LawyerDao {
    public List<LawyerModel> getIndexLawyer() {
        List<LawyerModel> lawyerList = new ArrayList<LawyerModel>();
        String[] images = {"../img/ls2_szam.png","../img/ls3_xs6q.png","../img/ls4_4sn9.png"};
        String[] names = {"刘静","周伟强","张晓梅"};
        String[] roles = {"权益合伙人","权益合伙人","权益合伙人"};
        String[] introduces = {"擅长各类知识产权纠纷和与技术相关的争议解决业务，包括技术合同、产品责任诉讼等。","其在房地产并购、房地产融资、兼并与收购、外商直接投资等领域有丰富的实务操作经验。","执业领域为：房地产项目投资、房地产投资纠纷处置、土地及房地产项目合规性核查。"};
        for (int i = 0; i < images.length; i++) {
            lawyerList.add(LawyerModel.builder()
                    .image(images[i])
                    .name(names[i])
                    .role(roles[i])
                    .introduce(introduces[i])
                    .build());
        }
        return lawyerList;
    }

    public List<LawyerModel> getLawyers() {
        List<LawyerModel> lawyersList = new ArrayList<LawyerModel>();
        String[] images = {"../img/ls9.png","../img/ls10.png","../img/ls5.png"};
        String[] names = {"陈权","蒋勇天","彭彭"};
        String[] roles = {"合伙人","权益合伙人","合伙人"};
        String[] introduces = {"其在房地产并购、房地产融资、兼并与收购、外商直接投资等领域有丰富的实务操作经验。","擅长各类知识产权纠纷和与技术相关的争议解决业务，包括技术合同、产品责任诉讼等。","其在房地产并购、房地产融资、兼并与收购、外商直接投资等领域有丰富的实务操作经验。"};
        for (int i = 0; i < images.length; i++) {
            lawyersList.add(LawyerModel.builder()
                    .image(images[i])
                    .name(names[i])
                    .role(roles[i])
                    .introduce(introduces[i])
                    .build());
        }
        return lawyersList;
    }

    public List<LawyerModel> getLawyers1() {

        List<LawyerModel> lawyersList1 = new ArrayList<LawyerModel>();
        String[] images = {"../img/ls6.png","../img/ls7.png","../img/ls8.png"};
        String[] names = {"王丰","曾浩","彭彭"};
        String[] roles = {"合伙人","权益合伙人","王真"};
        String[] introduces = {"执业领域为：房地产项目投资、房地产投资纠纷处置、土地及房地产项目合规性核查。","执业领域为：房地产项目投资、房地产投资纠纷处置、土地及房地产项目合规性核查。","擅长各类知识产权纠纷和与技术相关的争议解决业务，包括技术合同、产品责任诉讼等。"};
        for (int i = 0; i < images.length; i++) {
            lawyersList1.add(LawyerModel.builder()
                    .image(images[i])
                    .name(names[i])
                    .role(roles[i])
                    .introduce(introduces[i])
                    .build());
        }
        return lawyersList1;
    }
}
